home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 March / Gamestar_71_2005-03_dvd.iso / Dema / willofsteel_demo.exe / {app} / Data / gui / pool.gui < prev    next >
Text File  |  2004-10-23  |  41KB  |  1,427 lines

  1.  
  2. -- --------------------------------------------------- COMPONENT ID
  3. ID_BUTTON            = 0 
  4. ID_RADIO_BUTTON        = 1 
  5. ID_CHK_BOX            = 2  
  6. ID_EDIT_BOX            = 3 
  7. ID_LIST                = 4 
  8. ID_TEXT_BOX            = 5 
  9. ID_PICTURE_BOX        = 6 
  10. ID_FRAME            = 7 
  11. ID_SCROLL            = 8 
  12. ID_PROGRESSBAR        = 9 
  13. ID_SLIDEMENU        = 10
  14. ID_COMPASS            = 11
  15. ID_MINIMAP            = 12
  16. ID_SELECTIONBOX        = 13
  17. ID_TABLECC            = 14
  18. ID_POOLFRAME        = 15
  19. ID_SOLDIERPOOL_ELEM = 16
  20. ID_VEHICLEPOOL_ELEM = 17
  21.  
  22.  
  23. -- --------------------------------------------------- PGUITextBox type
  24.     PGUI_SINGLELINE_TEXT    = 0
  25.     PGUI_MULTILINE_TEXT        = 1
  26.     PGUI_FILENAME            = 2
  27.  
  28.     PGUI_SIGNED_INTEGER        = 3
  29.     PGUI_UNSIGNED_INTEGER    = 4
  30.     PGUI_FLOAT                = 5
  31.  
  32.  
  33. -- --------------------------------------------------- MESAGE ID
  34.  
  35. PGUI_1STBUTTON_DOWN            =  0 
  36. PGUI_1STBUTTON_UP            =  1 
  37. PGUI_1STBUTTON_CLCK            =  2
  38. PGUI_1STBUTTON_DBLCLCK      =  3
  39. PGUI_1STBUTTON_DRAG            =  4
  40. PGUI_1STBUTTON_DROP            =  5
  41. PGUI_2NDBUTTON_DOWN            =  6
  42. PGUI_2NDBUTTON_UP            =  7
  43. PGUI_2NDBUTTON_CLCK            =  8
  44. PGUI_2NDBUTTON_DBLCLCK        =  9
  45. PGUI_2NDBUTTON_DRAG            = 10
  46. PGUI_2NDBUTTON_DROP            = 11
  47. PGUI_POINTER_MOVE            = 12
  48. PGUI_POINTER_HOVER            = 13
  49. PGUI_POINTER_LEAVE            = 14
  50. PGUI_POINTER_DRAG_HOVER        = 15
  51. PGUI_POINTER_DRAG_LEAVE        = 16
  52. PGUI_CHAR_PRESSED            = 17
  53. PGUI_KEY_PRESSED            = 18
  54. PGUI_VALUE_CHANGED            = 19
  55. PGUI_RELEASE_FOCUS            = 20
  56. PGUI_INITIALISATION            = 21
  57. PGUI_ANIMATION_FINISHED        = 22
  58.  
  59.  
  60.  
  61.  
  62. -- -------------------------------------------- PGUISelectionBox child types
  63.  
  64.     PGUI_SB_GROUPED_FRAME            = 0
  65.     PGUI_SB_UNGROUPED_FRAME            = 1
  66.     PGUI_SB_DETAILED_FRAME            = 2    
  67.     PGUI_SB_HEALTH_TEXT                = 3
  68.     PGUI_SB_HEALTH_BAR                = 4
  69.     PGUI_SB_ARMOUR_TEXT                = 5
  70.     PGUI_SB_ARMOUR_BAR                = 6    
  71.     PGUI_SB_DEFENCE_TEXT            = 7
  72.     PGUI_SB_DEFENCE_BAR                = 8
  73.     PGUI_SB_MORALE_TEXT                = 9
  74.     PGUI_SB_MORALE_BAR                = 10
  75.     PGUI_SB_CQB_TEXT                = 11
  76.     PGUI_SB_CQB_BAR                    = 12
  77.     PGUI_SB_ACURACY_SOLDIER_TEXT    = 13
  78.     PGUI_SB_ACURACY_SOLDIER_BAR        = 14
  79.     PGUI_SB_VETERANCY_TEXT            = 15
  80.     PGUI_SB_VETERANCY_BAR            = 16
  81.     PGUI_SB_WEAPON_1ST                = 17
  82.     PGUI_SB_WEAPON_2ND                = 18
  83.     PGUI_SB_FIREPOWER_1ST            = 19
  84.     PGUI_SB_FIREPOWER_2ND            = 20
  85.     PGUI_SB_ACCURACY_1ST            = 21
  86.     PGUI_SB_ACCURACY_2ND            = 22
  87.     PGUI_SB_AMMORECYCLE_1ST_TEXT    = 23
  88.     PGUI_SB_AMMORECYCLE_1ST_BAR        = 24
  89.     PGUI_SB_AMMORECYCLE_2ND_TEXT    = 25
  90.     PGUI_SB_AMMORECYCLE_2ND_BAR        = 26
  91.     PGUI_SB_MAXSPEED_TEXT            = 27
  92.     PGUI_SB_MAXSPEED_BAR            = 28
  93.     PGUI_SB_SMALL_PCT                = 29
  94.     PGUI_SB_BIG_PCT                    = 30
  95.  
  96. -- ---------------------------------------------------
  97.  
  98.  
  99. CreateGUI("Pool");
  100.  
  101.  
  102. id=GUIADDCONTROL {
  103.     Parent     = 0,
  104.     Name       = "Frame",
  105.     Title      = "Frame",
  106.     ControlType= ID_POOLFRAME,
  107.     BoundRect  = {0,0,1024,768},
  108.     Texture    = "GUI/PoolNew.dds",
  109.     Rec1STTexture = {0,0,1024,768},
  110. MESSAGE_MAP = {
  111.     {PGUI_INITIALISATION , "REGPOOLFRAME" },
  112. },
  113.  
  114. };
  115.  
  116. S_frame = GUIADDCONTROL {
  117.     Parent     = id,
  118.     Name       = "SoldiersFrame",
  119.     ControlType= ID_FRAME,
  120.     BoundRect  = {5,5,5+331,5+614},
  121.     Texture    = "GUI/PoolFrame.dds",
  122.     Title      = "SoldiersFrame",
  123.     Rec1STTexture = {5,5,5+331,5+614},
  124. MESSAGE_MAP = {
  125.     {PGUI_INITIALISATION , "REGSPOOL" },
  126.     --{PGUI_1STBUTTON_CLCK , "" }
  127. },
  128.  
  129. };
  130.  
  131. S_upgrades = GUIADDCONTROL {
  132.     Parent     = id,
  133.     Name       = "SUpgradesFrame",
  134.     ControlType= ID_FRAME,
  135.     BoundRect  = {685,5,685+331,5+614},
  136.     Texture    = "GUI/PoolFrame.dds",
  137.     Title      = "SUpgradesFrame",
  138.     Rec1STTexture = {685,5,685+331,5+614},
  139.  
  140.  MESSAGE_MAP = {
  141.     {PGUI_INITIALISATION , "REGSUPGRADES" },
  142.     --{PGUI_1STBUTTON_CLCK , "" }
  143. },
  144.  
  145. };
  146.  
  147. V_frame = GUIADDCONTROL {
  148.     Parent     = id,
  149.     Name       = "VehiclesFrame",
  150.     ControlType= ID_FRAME,
  151.     BoundRect  = {685,5,685+331,5+614},
  152.     Texture    = "GUI/PoolControls.dds",
  153.     Title      = "VehiclesFrame",
  154.     Rec1STTexture = {685,5,685+331,5+614},
  155. MESSAGE_MAP = {
  156.     {PGUI_INITIALISATION , "REGVPOOL" },
  157.     --{PGUI_1STBUTTON_CLCK , "" }
  158. },
  159.     
  160. };
  161.  
  162.  
  163. V_upgrades = GUIADDCONTROL {
  164.     Parent     = id,
  165.     Name       = "VUpgradesFrame",
  166.     ControlType= ID_FRAME,
  167.     BoundRect  = {5,5,5+331,5+614},
  168.     Texture    = "GUI/PoolControls.dds",
  169.     Title      = "VUpgradesFrame",
  170.     Rec1STTexture = {5,5,5+331,5+614},
  171. MESSAGE_MAP = {
  172.     {PGUI_INITIALISATION , "REGVUPGRADES" },
  173.     --{PGUI_1STBUTTON_CLCK , "" }
  174. },
  175.  
  176. };
  177.  
  178.  
  179.  
  180. GUIADDCONTROL {
  181.     Parent     = id,
  182.     Name       = "SUpgrades",
  183.     ControlType= ID_CHK_BOX,
  184.     BoundRect  = {351,630,351+86,630+28},
  185.     Texture    = "GUI/PoolFrame.dds",
  186.     Title      = "SUpgrades",
  187.     Rec1STTexture = {351,630,351+86,630+28},
  188.     Rec2NDTexture = {355,630,355+86,630+28},
  189.     Rec3RDTexture = {351,634,351+86,634+28},
  190.     Rec4THTexture =  {355,634,355+86,634+28},
  191. MESSAGE_MAP = {
  192.     {PGUI_INITIALISATION ,  "REGSBUTTON"  },
  193.     {PGUI_VALUE_CHANGED , "SWITCHUPGRADEVIEW" }
  194. },
  195.  
  196. };
  197.  
  198. GUIADDCONTROL {
  199.     Parent     = id,
  200.     Name       = "VUpgrades",
  201.     ControlType= ID_CHK_BOX,
  202.     BoundRect  = {578,630,578+86,630+28},
  203.     Texture    = "GUI/PoolFrame.dds",
  204.     Title      = "VUpgrades",
  205.     Rec1STTexture = {578,630,578+86,630+28},
  206.     Rec2NDTexture = {582,630,582+86,630+28},
  207.     Rec3RDTexture = {578,634,582+86,634+28},
  208.     Rec4THTexture =  {582,634,582+86,634+28},
  209.     
  210. MESSAGE_MAP = {
  211.     {PGUI_INITIALISATION ,"REGVBUTTON"},
  212.     {PGUI_VALUE_CHANGED , "SWITCHUPGRADEVIEW" }
  213. },
  214. };
  215.  
  216. -- ------ pool childs prototypes ---------------  
  217.  
  218.  GUIADDCONTROL {
  219.     Parent     = id,
  220.     Name       = "SoldierPatern",
  221.     ControlType= ID_SOLDIERPOOL_ELEM,                        
  222.     BoundRect  = {3,3,161,24},
  223.     Texture    = "GUI/SoldierPoolElem.dds",
  224.     Title      = "SoldierPatern",
  225.     Rec1STTexture = {200+2,100+2,201+2,101+2},        -- empty field (normal)
  226.     Rec2NDTexture = {0,0,160+1,21+1},                -- (hover)
  227.     Rec3RDTexture = {0,23,160+1,43+1},                -- (pressed)
  228.     Rec4THTexture = {0,44,160+4,65+4},            -- (selection)
  229.     FontHeight = 13,
  230.     FontWidth  = 8,
  231.     FontColor  = 4282157188,
  232.     
  233.     -- not textures
  234.     Rec5THTexture = {0,0,21,21},                -- type dim.
  235.     Rec6THTexture = {0+22,0,21+22,21},                -- rank dim.
  236.     Rec7THTexture = {0+22+22,0,119+22+22,21},                -- name dim.
  237.     
  238.     
  239. };
  240.  
  241.  
  242. -- --------- marine_rifleman ----------------
  243.  
  244.   GUIADDCONTROL {
  245.     Parent     = S_frame,                    -- child of soldier frame
  246.     Name       = "Riflemans",
  247.     ControlType= ID_TABLECC,
  248.     BoundRect  = {8-6,9-5,336-6,128-5},
  249.     Long1st    = ID_SOLDIERPOOL_ELEM,        -- child control types
  250.     Long2nd    = 0,                            -- 1 for right-down , 0 for down-right
  251.     SecRect    = {3,3,166,24},                -- child control rec.
  252.     Texture    = "GUI/PoolNew.dds",
  253.     Title      = "Riflemans",
  254.     Rec1STTexture = {7,8,335,129},
  255.  
  256. --  Rec8 used for other config settings
  257. --  first  : number of rows
  258. --  second : nuber of columns
  259. --  third  : not used
  260. --  fourth : not used
  261.     Rec8THTexture = {5,2,0,0},
  262.  
  263. };
  264.  
  265.  
  266. ------------ marine_Machinegunners ----------------------------------
  267.  
  268. GUIADDCONTROL {
  269.     Parent     = S_frame,                    -- child of soldier frame
  270.     Name       = "Machinegunners",
  271.     ControlType= ID_TABLECC,
  272.     BoundRect  = {8-6,131-5,336-6,250-5},
  273.     Long1st    = ID_SOLDIERPOOL_ELEM,            -- child control types
  274.     Long2nd    = 0,                        -- 1 for right-down , 0 for down-right
  275.     SecRect    = {3,3,166,24},                -- child control rec.
  276.     Texture    = "GUI/PoolNew.dds",
  277.     Title      = "Machinegunners",
  278.     Rec1STTexture = {7,131,335,252},
  279.  
  280. --  Rec8 used for other config settings
  281. --  first  : number of rows
  282. --  second : nuber of columns
  283. --  third  : not used
  284. --  fourth : not used
  285.     Rec8THTexture = {5,2,0,0},
  286.  
  287. };
  288.  
  289.  
  290. ------------ marine_at ----------------------------------
  291.  
  292. GUIADDCONTROL {
  293.     Parent     = S_frame,                    -- child of soldier frame
  294.     Name       = "At",
  295.     ControlType= ID_TABLECC,
  296.     BoundRect  = {8-6,252-5,336-6,372-5},
  297.     Long1st    = ID_SOLDIERPOOL_ELEM,            -- child control types
  298.     Long2nd    = 0,                        -- 1 for right-down , 0 for down-right
  299.     SecRect    = {3,3,166,24},                -- child control rec.
  300.     Texture    = "GUI/PoolFrame.dds",
  301.     Title      = "At",
  302.     Rec1STTexture = {7,8,335,129},
  303. --    Rec1STTexture = {7,254,335,375},            -- sa defektom
  304.  
  305. --  Rec8 used for other config settings
  306. --  first  : number of rows
  307. --  second : nuber of columns
  308. --  third  : not used
  309. --  fourth : not used
  310.     Rec8THTexture = {5,2,0,0},
  311.  
  312. };
  313.  
  314.  
  315. ------------ marine_snipers ----------------------------------
  316.  
  317. GUIADDCONTROL {
  318.     Parent     = S_frame,                    -- child of soldier frame
  319.     Name       = "Snipers",
  320.     ControlType= ID_TABLECC,
  321.     BoundRect  = {8-6,380-5,336-6,497-5},
  322.     Long1st    = ID_SOLDIERPOOL_ELEM,            -- child control types
  323.     Long2nd    = 0,                        -- 1 for right-down , 0 for down-right
  324.     SecRect    = {3,3,166,24},                -- child control rec.
  325.     Texture    = "GUI/PoolNew.dds",
  326.     Title      = "Snipers",
  327.     Rec1STTexture = {7,377,335,498},            
  328.  
  329. --  Rec8 used for other config settings
  330. --  first  : number of rows
  331. --  second : nuber of columns
  332. --  third  : not used
  333. --  fourth : not used
  334.     Rec8THTexture = {5,2,0,0},
  335.  
  336.  
  337. };
  338.  
  339.  
  340. ------------ marine_edics ----------------------------------
  341.  
  342. GUIADDCONTROL {
  343.     Parent     = S_frame,                    -- child of soldier frame
  344.     Name       = "Medics",
  345.     ControlType= ID_TABLECC,
  346.     BoundRect  = {9-6,498-5,170-6,616-5},
  347.     Long1st    = ID_SOLDIERPOOL_ELEM,            -- child control types
  348.     Long2nd    = 0,                        -- 1 for right-down , 0 for down-right
  349.     SecRect    = {3,3,166,24},                -- child control rec.
  350.     Texture    = "GUI/PoolFrame.dds",
  351.     Title      = "Medics",
  352.     Rec1STTexture = {8,375,170,494},            
  353.  
  354. --  Rec8 used for other config settings
  355. --  first  : number of rows
  356. --  second : nuber of columns
  357. --  third  : not used
  358. --  fourth : not used
  359.     Rec8THTexture = {5,2,0,0},
  360.  
  361.  
  362. };
  363.  
  364.  
  365. ------------ marine_engineers ----------------------------------
  366.  
  367. GUIADDCONTROL {
  368.     Parent     = S_frame,                    -- child of soldier frame
  369.     Name       = "Engineers",
  370.     ControlType= ID_TABLECC,
  371.     BoundRect  = {174-6,498-5,335-6,616-5},
  372.     Long1st    = ID_SOLDIERPOOL_ELEM,            -- child control types
  373.     Long2nd    = 0,                        -- 1 for right-down , 0 for down-right
  374.     SecRect    = {3,3,166,24},                -- child control rec.
  375.     Texture    = "GUI/PoolFrame.dds",
  376.     Title      = "Engineers",
  377.     Rec1STTexture = {173,375,335,494},            
  378.  
  379. --  Rec8 used for other config settings
  380. --  first  : number of rows
  381. --  second : nuber of columns
  382. --  third  : not used
  383. --  fourth : not used
  384.     Rec8THTexture = {5,2,0,0},
  385.  
  386.  
  387. };
  388.  
  389.  
  390. ------------ W_apgrejd_vozila_prvi ----------------------------------
  391.  
  392.    GUIADDCONTROL {
  393.           Parent     = V_upgrades,
  394.           Name       = "w_apgrejd_vozila",
  395.           ControlType= ID_PICTURE_BOX,
  396.           BoundRect  = {7,34,325,71},
  397.           Texture    = "GUI/PoolControls.dds",
  398.           Title      = "w_apgrejd_vozila",
  399.              Rec1STTexture = {13,39,330,76},
  400.  --          Rec1STTexture = {369,3,629,31},
  401.  
  402. };
  403.  
  404. ------------ W_apgrejd_vozila_drugi ----------------------------------
  405.  
  406.    GUIADDCONTROL {
  407.           Parent     = V_upgrades,
  408.           Name       = "w_apgrejd_vozila",
  409.           ControlType= ID_PICTURE_BOX,
  410.           BoundRect  = {7,75,325,112},
  411.           Texture    = "GUI/PoolControls.dds",
  412.           Title      = "w_apgrejd_vozila",
  413.               Rec1STTexture = {13,39,330,76},
  414.  --           Rec1STTexture = {369,3,629,31},
  415.  
  416. };
  417.  
  418. ------------ W_apgrejd_vozila_treci ----------------------------------
  419.  
  420.    GUIADDCONTROL {
  421.           Parent     = V_upgrades,
  422.           Name       = "w_apgrejd_vozila",
  423.           ControlType= ID_PICTURE_BOX,
  424.           BoundRect  = {7,116,325,153},
  425.           Texture    = "GUI/PoolControls.dds",
  426.           Title      = "w_apgrejd_vozila",
  427.             Rec1STTexture = {13,39,330,76},
  428. --          Rec1STTexture = {369,3,629,31},
  429.  
  430. };
  431.  
  432. ------------ a_apgrejd_vozila_prvi ----------------------------------
  433.  
  434.    GUIADDCONTROL {
  435.           Parent     = V_upgrades,
  436.           Name       = "a_apgrejd_vozila",
  437.           ControlType= ID_PICTURE_BOX,
  438.           BoundRect  = {7,184,325,222},
  439.           Texture    = "GUI/PoolControls.dds",
  440.           Title      = "a_apgrejd_vozila",
  441.                       
  442.             Rec1STTexture = {13,39,330,76},
  443. --          Rec1STTexture = {369,3,629,31},
  444.  
  445. };
  446.  
  447. ------------ a_apgrejd_vozila_drugi ----------------------------------
  448.  
  449.    GUIADDCONTROL {
  450.           Parent     = V_upgrades,
  451.           Name       = "a_apgrejd_vozila",
  452.           ControlType= ID_PICTURE_BOX,
  453.           BoundRect  = {7,226,324,264},
  454.           Texture    = "GUI/PoolControls.dds",
  455.           Title      = "a_apgrejd_vozila",
  456.  
  457.             Rec1STTexture = {13,39,330,76},
  458. --          Rec1STTexture = {369,3,629,31},
  459.  
  460. };
  461.  
  462. ------------ a_apgrejd_vozila_treci ----------------------------------
  463.  
  464.    GUIADDCONTROL {
  465.           Parent     = V_upgrades,
  466.           Name       = "a_apgrejd_vozila",
  467.           ControlType= ID_PICTURE_BOX,
  468.           BoundRect  = {7,267,325,305},
  469.           Texture    = "GUI/PoolControls.dds",
  470.           Title      = "a_apgrejd_vozila",
  471.  
  472.            Rec1STTexture = {13,39,330,76},
  473. --         Rec1STTexture = {369,3,629,31},
  474.  
  475. };
  476.  
  477.  
  478. ------------ p_apgrejd_vozila_prvi ----------------------------------
  479.  
  480.    GUIADDCONTROL {
  481.           Parent     = V_upgrades,
  482.           Name       = "p_apgrejd_vozila",
  483.           ControlType= ID_PICTURE_BOX,
  484.           BoundRect  = {7,335,325,374},
  485.           Texture    = "GUI/PoolControls.dds",
  486.           Title      = "p_apgrejd_vozila",
  487.             Rec1STTexture = {13,39,330,76},
  488. --          Rec1STTexture = {369,3,629,31},
  489.  
  490. };
  491.  
  492. ------------ p_apgrejd_vozila_drugi ----------------------------------
  493.  
  494.    GUIADDCONTROL {
  495.           Parent     = V_upgrades,
  496.           Name       = "p_apgrejd_vozila",
  497.           ControlType= ID_PICTURE_BOX,
  498.           BoundRect  = {7,377,325,416},
  499.           Texture    = "GUI/PoolControls.dds",
  500.           Title      = "p_apgrejd_vozila",
  501.             Rec1STTexture = {13,39,330,76},
  502. --          Rec1STTexture = {369,3,629,31},
  503.    
  504. };
  505.  
  506. ------------ p_apgrejd_vozila_treci ----------------------------------
  507.  
  508.    GUIADDCONTROL {
  509.           Parent     = V_upgrades,
  510.           Name       = "p_apgrejd_vozila",
  511.           ControlType= ID_PICTURE_BOX,
  512.           BoundRect  = {7,419,325,458},
  513.           Texture    = "GUI/PoolControls.dds",
  514.           Title      = "p_apgrejd_vozila",
  515.             Rec1STTexture = {13,39,330,76},
  516. --          Rec1STTexture = {369,3,629,31},
  517.  
  518. };
  519.  
  520.  
  521. ------------ e_apgrejd_vozila_prvi ----------------------------------
  522.  
  523.    GUIADDCONTROL {
  524.           Parent     = V_upgrades,
  525.           Name       = "e_apgrejd_vozila",
  526.           ControlType= ID_PICTURE_BOX,
  527.           BoundRect  = {7,486,325,525},
  528.           Texture    = "GUI/PoolControls.dds",
  529.           Title      = "e_apgrejd_vozila",
  530.             Rec1STTexture = {13,39,330,76},
  531. --          Rec1STTexture = {369,3,629,31},
  532.  
  533. };
  534.  
  535. ------------ e_apgrejd_vozila_drugi ----------------------------------
  536.  
  537.    GUIADDCONTROL {
  538.           Parent     = V_upgrades,
  539.           Name       = "e_apgrejd_vozila",
  540.           ControlType= ID_PICTURE_BOX,
  541.           BoundRect  = {7,528,325,567},
  542.           Texture    = "GUI/PoolControls.dds",
  543.           Title      = "e_apgrejd_vozila",
  544.             Rec1STTexture = {13,39,330,76},
  545. --          Rec1STTexture = {369,3,629,31},
  546.    
  547. };
  548.  
  549. ------------ e_apgrejd_vozila_treci ----------------------------------
  550.  
  551.    GUIADDCONTROL {
  552.           Parent     = V_upgrades,
  553.           Name       = "e_apgrejd_vozila",
  554.           ControlType= ID_PICTURE_BOX,
  555.           BoundRect  = {7,570,325,609},
  556.           Texture    = "GUI/PoolControls.dds",
  557.           Title      = "e_apgrejd_vozila",
  558.             Rec1STTexture = {13,39,330,76},
  559. --          Rec1STTexture = {369,3,629,31},
  560.  
  561. };
  562.  
  563. ------------ w_apgrejd_vojnika_prvi ----------------------------------
  564.  
  565.    GUIADDCONTROL {
  566.           Parent     = S_upgrades,
  567.           Name       = "w_apgrejd_vojnika1",
  568.           ControlType= ID_PICTURE_BOX,
  569.           BoundRect  = {5,32,322,71},
  570.           Texture    = "GUI/PoolFrame.dds",
  571.           Title      = "w_apgrejd_vojnika1",
  572. --          Rec1STTexture = {13,39,330,76},
  573.             Rec1STTexture = {369,3,629,31},
  574.  
  575. };
  576.  
  577. ------------ w_apgrejd_vojnika_drugi ----------------------------------
  578.  
  579.    GUIADDCONTROL {
  580.           Parent     = S_upgrades,
  581.           Name       = "w_apgrejd_vojnika2",
  582.           ControlType= ID_PICTURE_BOX,
  583.           BoundRect  = {5,74,322,112},
  584.           Texture    = "GUI/PoolFrame.dds",
  585.           Title      = "w_apgrejd_vojnika2",
  586. --          Rec1STTexture = {13,39,330,76},
  587.             Rec1STTexture = {369,3,629,31},
  588.    
  589. };
  590.  
  591. ------------ w_apgrejd_vojnika_treci ----------------------------------
  592.  
  593.    GUIADDCONTROL {
  594.           Parent     = S_upgrades,
  595.           Name       = "w_apgrejd_vojnika3",
  596.           ControlType= ID_PICTURE_BOX,
  597.           BoundRect  = {5,115,322,153},
  598.           Texture    = "GUI/PoolFrame.dds",
  599.           Title      = "w_apgrejd_vojnika3",
  600. --          Rec1STTexture = {13,39,330,76},
  601.             Rec1STTexture = {369,3,629,31},
  602.  
  603. };
  604.  
  605.  
  606. ------------ a_apgrejd_vojnika_prvi ----------------------------------
  607.  
  608.    GUIADDCONTROL {
  609.           Parent     = S_upgrades,
  610.           Name       = "a_apgrejd_vojnika",
  611.           ControlType= ID_PICTURE_BOX,
  612.           BoundRect  = {5,182,322,221},
  613.           Texture    = "GUI/PoolFrame.dds",
  614.           Title      = "a_apgrejd_vojnika",
  615. --          Rec1STTexture = {13,39,330,76},
  616.             Rec1STTexture = {369,3,629,31},
  617.  
  618. };
  619.  
  620. ------------ a_apgrejd_vojnika_drugi ----------------------------------
  621.  
  622.    GUIADDCONTROL {
  623.           Parent     = S_upgrades,
  624.           Name       = "a_apgrejd_vojnika",
  625.           ControlType= ID_PICTURE_BOX,
  626.           BoundRect  = {5,224,322,263},
  627.           Texture    = "GUI/PoolFrame.dds",
  628.           Title      = "a_apgrejd_vojnika",
  629. --          Rec1STTexture = {13,39,330,76},
  630.             Rec1STTexture = {369,3,629,31},
  631.    
  632. };
  633.  
  634. ------------ a_apgrejd_vojnika_treci ----------------------------------
  635.  
  636.    GUIADDCONTROL {
  637.           Parent     = S_upgrades,
  638.           Name       = "a_apgrejd_vojnika",
  639.           ControlType= ID_PICTURE_BOX,
  640.           BoundRect  = {5,269,322,308},
  641.           Texture    = "GUI/PoolFrame.dds",
  642.           Title      = "a_apgrejd_vojnika",
  643. --          Rec1STTexture = {13,39,330,76},
  644.             Rec1STTexture = {369,3,629,31},
  645.  
  646. };
  647.  
  648.  
  649. ------------ p_apgrejd_vojnika_prvi ----------------------------------
  650.  
  651.    GUIADDCONTROL {
  652.           Parent     = S_upgrades,
  653.           Name       = "p_apgrejd_vojnika",
  654.           ControlType= ID_PICTURE_BOX,
  655.           BoundRect  = {5,333,322,372},
  656.           Texture    = "GUI/PoolFrame.dds",
  657.           Title      = "p_apgrejd_vojnika",
  658. --          Rec1STTexture = {13,39,330,76},
  659.             Rec1STTexture = {369,3,629,31},
  660.  
  661. };
  662.  
  663. ------------ p_apgrejd_vojnika_drugi ----------------------------------
  664.  
  665.    GUIADDCONTROL {
  666.           Parent     = S_upgrades,
  667.           Name       = "p_apgrejd_vojnika",
  668.           ControlType= ID_PICTURE_BOX,
  669.           BoundRect  = {5,375,322,414},
  670.           Texture    = "GUI/PoolFrame.dds",
  671.           Title      = "p_apgrejd_vojnika",
  672. --          Rec1STTexture = {13,39,330,76},
  673.             Rec1STTexture = {369,3,629,31},
  674.    
  675. };
  676.  
  677. ------------ p_apgrejd_vojnika_treci ----------------------------------
  678.  
  679.    GUIADDCONTROL {
  680.           Parent     = S_upgrades,
  681.           Name       = "p_apgrejd_vojnika",
  682.           ControlType= ID_PICTURE_BOX,
  683.           BoundRect  = {5,417,322,456},
  684.           Texture    = "GUI/PoolFrame.dds",
  685.           Title      = "p_apgrejd_vojnika",
  686. --          Rec1STTexture = {13,39,330,76},
  687.             Rec1STTexture = {369,3,629,31},
  688.  
  689. };
  690.  
  691. ------------ e_apgrejd_vojnika_prvi ----------------------------------
  692.  
  693.    GUIADDCONTROL {
  694.           Parent     = S_upgrades,
  695.           Name       = "e_apgrejd_vojnika",
  696.           ControlType= ID_PICTURE_BOX,
  697.           BoundRect  = {5,484,322,523},
  698.           Texture    = "GUI/PoolFrame.dds",
  699.           Title      = "e_apgrejd_vojnika",
  700. --          Rec1STTexture = {13,39,330,76},
  701.             Rec1STTexture = {369,3,629,31},
  702.  
  703. };
  704.  
  705. ------------ e_apgrejd_vojnika_drugi ----------------------------------
  706.  
  707.    GUIADDCONTROL {
  708.           Parent     = S_upgrades,
  709.           Name       = "e_apgrejd_vojnika",
  710.           ControlType= ID_PICTURE_BOX,
  711.           BoundRect  = {5,526,322,564},
  712.           Texture    = "GUI/PoolFrame.dds",
  713.           Title      = "e_apgrejd_vojnika",
  714. --          Rec1STTexture = {13,39,330,76},
  715.             Rec1STTexture = {369,3,629,31},
  716.    
  717. };
  718.  
  719. ------------ e_apgrejd_vojnika_treci ----------------------------------
  720.  
  721.    GUIADDCONTROL {
  722.           Parent     = S_upgrades,
  723.           Name       = "e_apgrejd_vojnika",
  724.           ControlType= ID_PICTURE_BOX,
  725.           BoundRect  = {5,567,322,606},
  726.           Texture    = "GUI/PoolFrame.dds",
  727.           Title      = "e_apgrejd_vojnika",
  728. --          Rec1STTexture = {13,39,330,76},
  729.             Rec1STTexture = {369,3,629,31},
  730.  
  731. };
  732.  
  733.  
  734. ------------ moje_prvo_dugme ----------------------------------
  735.  
  736.   GUIADDCONTROL {
  737.     Parent     = id,                    -- child of soldier frame
  738.     Name       = "dugme",
  739.     ControlType= ID_BUTTON,
  740.     BoundRect  = {473,631,550,654},
  741.     Texture    = "GUI/PoolFrame.dds",
  742.     Title      = "dugme",
  743.       Rec1STTexture = {473,631,550,654},
  744.           Rec2NDTexture = {520,700,630,723},
  745.           Rec3RDTexture = {530,320,630,354},
  746.           Rec4THTexture = {715,623,803,652},            
  747.  
  748. --  Rec8 used for other config settings
  749. --  first  : number of rows
  750. --  second : nuber of columns
  751. --  third  : not used
  752. --  fourth : not used
  753.     Rec8THTexture = {5,2,0,0},
  754.  
  755. };
  756.  
  757. ------------ krajnje_desno_dugme ----------------------------------
  758.  
  759.   GUIADDCONTROL {
  760.         Parent     =  id,
  761.         Name       = "krajnje_desno_dugme",
  762.         ControlType= ID_BUTTON,
  763.         BoundRect  = {895,632,1024,668},
  764.         Texture    = "Gui/PoolNEW.dds",
  765.         Title      = "krajnje_desno_dugme",
  766.           Rec1STTexture = {895,635,1024,669},
  767.           Rec2NDTexture = {858,568,930,588},
  768.           Rec3RDTexture = {894,694,1007,726},
  769.           Rec4THTexture = {551,68,651,86},
  770.  
  771. };
  772.  
  773. ------------ krajnje_levo_dugme ----------------------------------
  774.  
  775.   GUIADDCONTROL {
  776.         Parent     =  id,
  777.         Name       = "krajnje_levo_dugme",
  778.         ControlType= ID_BUTTON,
  779.         BoundRect  = {0,632,129,670},
  780.         Texture    = "Gui/PoolFrame.dds",
  781.         Title      = "krajnje_levo_dugme",
  782.           Rec1STTexture = {0,632,129,670},
  783.           Rec2NDTexture = {858,568,930,588},
  784.           Rec3RDTexture = {894,694,1007,726},
  785.           Rec4THTexture = {551,68,651,86},
  786.  
  787. };
  788.  
  789.  
  790. ----------- veliko_polje_sa_slikom ----------------------------------
  791.  
  792. vp_sa_slikom = GUIADDCONTROL {
  793.       Parent     = id,
  794.       Name       = "veliko polje sa slikom",
  795.       ControlType= ID_FRAME,
  796.       BoundRect  = {366,34,657,384},
  797.       Texture    = "GUI/PoolNEW.dds",
  798.       Title      = "veliko polje sa slikom",
  799.          Rec1STTexture = {540,166,614,176},
  800.  
  801. --       Rec8THTexture = {5,2,0,0},
  802.  
  803. };
  804.  
  805.  
  806. ----------- slicica ------------------------------------------------
  807.  
  808.   GUIADDCONTROL {
  809.       Parent     = vp_sa_slikom ,
  810.       Name       = "Slicica",
  811.       ControlType= ID_PICTURE_BOX,
  812.       BoundRect  = {3,3,113,119},
  813.       Texture    = "Gui/PoolNew.dds",
  814.       Title      = "Slicica",
  815.          Rec1STTexture = {370,39,480,157},
  816.  
  817. --       RecTHTexture = {5,2,0,0},
  818.  
  819. };
  820.  
  821.  
  822. ------------ prvi_progres_bar --------------------------------------
  823.  
  824.   GUIADDCONTROL {
  825.       Parent     = vp_sa_slikom ,
  826.       Name       = " prvi_progres_bar",
  827.       ControlType= ID_PROGRESSBAR,
  828.       BoundRect  = {184,9,286,16},
  829.       Texture    = "Gui/PoolNew.dds",
  830.       Title      = " prvi_progres_bar",
  831. --         Rec1STTexture = {516,21,583,26},       -- proba
  832.  
  833.            Rec1STTexture = {549,43,652,50},
  834.            Rec2NDTexture = {549,68,652,75},
  835.  
  836. --       RecTHTexture = {5,2,0,0},
  837.  
  838. };
  839.  
  840.  
  841. ------------ drugi_progres_bar --------------------------------------
  842.  
  843.   GUIADDCONTROL {
  844.       Parent     = vp_sa_slikom ,
  845.       Name       = " drugi_progres_bar",
  846.       ControlType= ID_PROGRESSBAR,
  847.       BoundRect  = {184,20,286,27},
  848.       Texture    = "Gui/PoolNew.dds",
  849.       Title      = " drugi_progres_bar",
  850. --        Rec1STTexture = {516,21,583,26},       -- proba
  851.  
  852.            Rec1STTexture = {549,43,652,50},
  853.            Rec2NDTexture = {549,68,652,75},
  854.  
  855. --       RecTHTexture = {5,2,0,0},
  856.  
  857. };
  858.  
  859.  
  860. ------------ treci_progres_bar --------------------------------------
  861.  
  862.   GUIADDCONTROL {
  863.       Parent     = vp_sa_slikom ,
  864.       Name       = "treci_progres_bar",
  865.       ControlType= ID_PROGRESSBAR,
  866.       BoundRect  = {184,31,286,38},
  867.       Texture    = "Gui/PoolNew.dds",
  868.       Title      = "treci_progres_bar",
  869.  
  870.            Rec1STTexture = {549,43,652,50}, 
  871.            Rec2NDTexture = {549,68,652,75},      
  872.           
  873. --       RecTHTexture = {5,2,0,0},
  874.  
  875. };
  876.  
  877.  
  878. ------------ cetvrti_progres_bar --------------------------------------
  879.  
  880.   GUIADDCONTROL {
  881.       Parent     = vp_sa_slikom ,
  882.       Name       = "cetvrti_progres_bar",
  883.       ControlType= ID_PROGRESSBAR,
  884.       BoundRect  = {184,42,286,49},
  885.       Texture    = "Gui/PoolNew.dds",
  886.       Title      = "cetvrti_progres_bar",
  887.  
  888.            Rec1STTexture = {549,43,652,50},       
  889.            Rec2NDTexture = {549,68,652,75},
  890.           
  891.  
  892. --       RecTHTexture = {5,2,0,0},
  893.  
  894. };
  895.  
  896.  
  897. ------------ peti_progres_bar --------------------------------------
  898.  
  899.   GUIADDCONTROL {
  900.       Parent     = vp_sa_slikom ,
  901.       Name       = "peti_progres_bar",
  902.       ControlType= ID_PROGRESSBAR,
  903.       BoundRect  = {184,53,286,60},
  904.       Texture    = "Gui/PoolNew.dds",
  905.       Title      = "peti_progres_bar",
  906.  
  907.            Rec1STTexture = {549,43,652,50}, 
  908.            Rec2NDTexture = {549,68,652,75},      
  909.           
  910.  
  911.  --      RecTHTexture = {5,2,0,0},
  912.  
  913. };
  914.  
  915. ----------- cin_vojnika ------------------------------------------------
  916.  
  917.   GUIADDCONTROL {
  918.       Parent     = vp_sa_slikom ,
  919.       Name       = "cin_vojnika",
  920.       ControlType= ID_PICTURE_BOX,
  921.       BoundRect  = {121,79,142,100},
  922.       Texture    = "Gui/PoolNew.dds",
  923.       Title      = "cin_vojnika",
  924.          Rec1STTexture = {488,115,507,134},
  925.  
  926. --       RecTHTexture = {5,2,0,0},
  927.  
  928. };
  929.  
  930. ----------- rang_vojnika ------------------------------------------------
  931.  
  932.   GUIADDCONTROL {
  933.       Parent     = vp_sa_slikom ,
  934.       Name       = "rang_vojnika",
  935.       ControlType= ID_PICTURE_BOX,
  936.       BoundRect  = {114,100,286,119},
  937.       Texture    = "Gui/PoolNew.dds",
  938.       Title      = "rang_vojnika",
  939.         Rec1STTexture = {481,136,651,157},
  940.  
  941.  
  942. };
  943.  
  944. ------------ Ime_vojnika -----------------------------------------
  945.  
  946.   GUIADDCONTROL {
  947.       Parent     = vp_sa_slikom ,
  948.       Name       = "Ime_vojnika",
  949.       ControlType= ID_TEXT_BOX ,
  950.       Long1st    = PGUI_SINGLELINE_TEXT,
  951.       BoundRect  = {144,80,286,99},
  952.       Texture    = "Gui/PoolNew.dds",
  953.       Title       = "Ime_vojnika",
  954.       FontHeight = 16,
  955.       FontWidth  = 8,
  956.       FontColor  =  4294967040,
  957.         Rec1STTexture = {497,348,647,366},
  958.  
  959. --       Rec8THTexture = {5,2,0,0},
  960. };
  961.  
  962.  
  963. ------------ damage_prvi_progres_bar --------------------------------------
  964.  
  965.   GUIADDCONTROL {
  966.       Parent     = vp_sa_slikom ,
  967.       Name       = "damage_prvi_progres_bar",
  968.       ControlType= ID_PROGRESSBAR,
  969.       BoundRect  = {53,146,128,153},
  970.       Texture    = "Gui/PoolNew.dds",
  971.       Title      = "damage_prvi_progres_bar",
  972.            Rec1STTexture = {421,181,493,188},
  973.            Rec2NDTexture = {552,70,630,70},
  974.       
  975.           
  976.  --      RecTHTexture = {5,2,0,0},
  977.  
  978. };
  979.  
  980.  
  981. ------------ damage_drugi_progres_bar --------------------------------------
  982.  
  983.   GUIADDCONTROL {
  984.       Parent     = vp_sa_slikom ,
  985.       Name       = "damage_drugi_progres_bar",
  986.       ControlType= ID_PROGRESSBAR,
  987.       BoundRect  = {132,146,207,153},
  988.       Texture    = "Gui/PoolNew.dds",
  989.       Title      = "damage_prvi_progres_bar",
  990.            Rec1STTexture = {421,181,493,188},
  991.            Rec2NDTexture = {552,70,630,70},       
  992.           
  993.  --      RecTHTexture = {5,2,0,0},
  994.  
  995. };
  996.  
  997.  
  998.  
  999. ------------ damage_treci_progres_bar --------------------------------------
  1000.  
  1001.   GUIADDCONTROL {
  1002.       Parent     = vp_sa_slikom ,
  1003.       Name       = "damage_treci_progres_bar",
  1004.       ControlType= ID_PROGRESSBAR,
  1005.       BoundRect  = {212,146,286,153},
  1006.       Texture    = "Gui/PoolNew.dds",
  1007.       Title      = "damage_treci_progres_bar",
  1008.            Rec1STTexture = {421,181,493,188},  
  1009.            Rec2NDTexture = {552,70,630,70},     
  1010.           
  1011.  --      RecTHTexture = {5,2,0,0},
  1012.  
  1013. };
  1014.  
  1015.  
  1016. ------------ range_prvi_progres_bar --------------------------------------
  1017.  
  1018.   GUIADDCONTROL {
  1019.       Parent     = vp_sa_slikom ,
  1020.       Name       = "range_prvi_progres_bar",
  1021.       ControlType= ID_PROGRESSBAR,
  1022.       BoundRect  = {53,157,128,164},
  1023.       Texture    = "Gui/PoolNew.dds",
  1024.       Title      = "range_prvi_progres_bar",
  1025.            Rec1STTexture = {421,181,493,188},       
  1026.            Rec2NDTexture = {552,70,630,70},
  1027.            
  1028.  --      RecTHTexture = {5,2,0,0},
  1029.  
  1030. };
  1031.  
  1032.  
  1033. ------------ range_drugi_progres_bar --------------------------------------
  1034.  
  1035.   GUIADDCONTROL {
  1036.       Parent     = vp_sa_slikom ,
  1037.       Name       = "range_drugi_progres_bar",
  1038.       ControlType= ID_PROGRESSBAR,
  1039.       BoundRect  = {132,157,207,164},
  1040.       Texture    = "Gui/PoolNew.dds",
  1041.       Title      = "range_drugi_progres_bar",
  1042.            Rec1STTexture = {421,181,493,188},
  1043.            Rec2NDTexture = {552,70,630,70},       
  1044.           
  1045.  --      RecTHTexture = {5,2,0,0},
  1046.  
  1047. };
  1048.  
  1049.  
  1050. ------------ range_treci_progres_bar --------------------------------------
  1051.  
  1052.   GUIADDCONTROL {
  1053.       Parent     = vp_sa_slikom ,
  1054.       Name       = "range_treci_progres_bar",
  1055.       ControlType= ID_PROGRESSBAR,
  1056.       BoundRect  = {212,157,286,164},
  1057.       Texture    = "Gui/PoolNew.dds",
  1058.       Title      = "range_treci_progres_bar",
  1059.            Rec1STTexture = {421,181,493,188},       
  1060.            Rec2NDTexture = {552,70,630,70},
  1061.  --      RecTHTexture = {5,2,0,0},
  1062.  
  1063. };
  1064.  
  1065.  
  1066. ------------ improvement_prvi_progres_bar --------------------------------------
  1067.  
  1068.   GUIADDCONTROL {
  1069.       Parent     = vp_sa_slikom ,
  1070.       Name       = "improvement_prvi_progres_bar",
  1071.       ControlType= ID_PROGRESSBAR,
  1072.       BoundRect  = {5,180,144,200},
  1073.       Texture    = "Gui/PoolNew.dds",
  1074.       Title      = "improvement_prvi_progres_bar",
  1075.  
  1076.            Rec1STTexture = {374,217,507,231},       
  1077.            Rec2NDTexture = {516,217,549,231},
  1078.  
  1079.  --      RecTHTexture = {5,2,0,0},
  1080.  
  1081. };
  1082.  
  1083. ------------ improvement_drugi_progres_bar --------------------------------------
  1084.  
  1085.   GUIADDCONTROL {
  1086.       Parent     = vp_sa_slikom ,
  1087.       Name       = "improvement_drugi_progres_bar",
  1088.       ControlType= ID_PROGRESSBAR,
  1089.       BoundRect  = {149,180,286,200},
  1090.       Texture    = "Gui/PoolNew.dds",
  1091.       Title      = "improvement_drugi_progres_bar",
  1092.  
  1093.            Rec1STTexture = {374,217,507,231},       
  1094.            Rec2NDTexture = {516,217,549,231},
  1095.  
  1096.  --      RecTHTexture = {5,2,0,0},
  1097.  
  1098. };
  1099.  
  1100. ------------ improvement_treci_progres_bar --------------------------------------
  1101.  
  1102.   GUIADDCONTROL {
  1103.       Parent     = vp_sa_slikom ,
  1104.       Name       = "improvement treci progres bar",
  1105.       ControlType= ID_PROGRESSBAR,
  1106.       BoundRect  = {5,205,144,225},            --gde je ovo i koja je visina?
  1107.       Texture    = "Gui/PoolNew.dds",
  1108.       Title      = "improvement treci progres bar",
  1109.  
  1110.            Rec1STTexture = {374,217,507,231},       
  1111.            Rec2NDTexture = {516,217,549,231},
  1112.  
  1113.  --      RecTHTexture = {5,2,0,0},
  1114.  
  1115. };
  1116.  
  1117. ------------ improvement_cetvrti_progres_bar --------------------------------------
  1118.  
  1119.   GUIADDCONTROL {
  1120.       Parent     = vp_sa_slikom ,
  1121.       Name       = "improvement cetvrti progres bar",
  1122.       ControlType= ID_PROGRESSBAR,
  1123.       BoundRect  = {149,205,286,225},        --gde je ovo i koja je visina?
  1124.       Texture    = "Gui/PoolNew.dds",
  1125.       Title      = "improvement cetvrti progres bar",
  1126.  
  1127.            Rec1STTexture = {374,217,507,231},       
  1128.            Rec2NDTexture = {516,217,549,231},
  1129.  
  1130.  --      RecTHTexture = {5,2,0,0},
  1131.  
  1132. };
  1133.  
  1134.  
  1135. ------------ combat_stats_prvi ------------------------------------------
  1136.  
  1137.   GUIADDCONTROL {
  1138.       Parent     = vp_sa_slikom,
  1139.       Name       = "combat_stats_prvi",
  1140.       ControlType= ID_TEXT_BOX,
  1141.       Long1st    = PGUI_SINGLELINE_TEXT,
  1142.       BoundRect  = {6,236,97,255},
  1143.       Texture    = "Gui/PoolNew.dds",
  1144.       Title      = "combat_stats_prvi",
  1145.       FontHeight = 16,
  1146.       FontWidth  = 8,
  1147.       FontColor  =  4294967040,
  1148.          Rec1STTexture = {372,270,462,288},
  1149.  
  1150. };
  1151.  
  1152. ------------ combat_stats_drugi ------------------------------------------
  1153.  
  1154.   GUIADDCONTROL {
  1155.       Parent     = vp_sa_slikom,
  1156.       Name       = "combat_stats_drugi",
  1157.       ControlType= ID_TEXT_BOX,
  1158.       Long1st    = PGUI_SINGLELINE_TEXT,
  1159.       BoundRect  = {101,236,191,255},
  1160.       Texture    = "Gui/PoolNew.dds",
  1161.       Title      = "combat_stats_drugi",
  1162.       FontHeight = 16,
  1163.       FontWidth  = 8,
  1164.       FontColor  =  4294967040,
  1165.          Rec1STTexture = {372,270,462,288},
  1166.  
  1167. };
  1168.  
  1169. ------------ combat_stats_treci ------------------------------------------
  1170.  
  1171.   GUIADDCONTROL {
  1172.       Parent     = vp_sa_slikom,
  1173.       Name       = "combat_stats_treci",
  1174.       ControlType= ID_TEXT_BOX,
  1175.       Long1st    = PGUI_SINGLELINE_TEXT,
  1176.       BoundRect  = {195,236,286,255},
  1177.       Texture    = "Gui/PoolNew.dds",
  1178.       Title      = "combat_stats_treci",
  1179.       FontHeight = 16,
  1180.       FontWidth  = 8,
  1181.       FontColor  =  4294967040,
  1182.          Rec1STTexture = {372,270,461,288},
  1183.  
  1184. };
  1185.  
  1186. ------------ multitext ---------------------------------------------
  1187.  
  1188. --   ControlType= ID_TEXT_BOX,
  1189. --   Long1st   = PGUI_SINGLELINE_TEXT ,  
  1190.  
  1191. GUIADDCONTROL {
  1192.       Parent     = vp_sa_slikom ,
  1193.       Name       = "multitext",
  1194.       ControlType= ID_TEXT_BOX,
  1195.       Long1st   = PGUI_MULTILINE_TEXT    ,
  1196.       BoundRect  = {6,260,286,346},
  1197.       Texture    = "Gui/PoolNew.dds",
  1198.       Title      = "multitext",
  1199.          Rec1STTexture = {518,301,649,377},
  1200.  
  1201. --       RecTHTexture = {5,2,0,0},
  1202.  
  1203. };
  1204.  
  1205.  
  1206. ------------ prvi_text_box -----------------------------------------
  1207.  
  1208.   GUIADDCONTROL {
  1209.       Parent     = id,
  1210.       Name       = "prvi_text_box",
  1211.       ControlType= ID_TEXT_BOX ,
  1212.       Long1st    = PGUI_SINGLELINE_TEXT,
  1213.       BoundRect  = {369,10,508,29},
  1214.       Texture    = "Gui/PoolFrame.dds",
  1215.       Title       = "prvi_text_box",
  1216.          Rec1STTexture = {530,310,630,360},
  1217.  
  1218. --       Rec8THTexture = {5,2,0,0},
  1219.  
  1220. };
  1221.  
  1222. ------------ drugi_text_box -----------------------------------------
  1223.  
  1224.   GUIADDCONTROL {
  1225.       Parent     = id,
  1226.       Name       = "drugi_text_box",
  1227.       ControlType= ID_TEXT_BOX ,
  1228.       Long1st    = PGUI_SINGLELINE_TEXT,
  1229.       BoundRect  = {513,10,652,29},
  1230.       Texture    = "Gui/PoolFrame.dds",
  1231.       Title       = "drugi_text_box",
  1232.          Rec1STTexture = {370,10,507,28},
  1233.  
  1234. --       Rec8THTexture = {5,2,0,0},
  1235.  
  1236. };
  1237.  
  1238. ------------ tabela_za_prikaze ------------------------------------
  1239.  
  1240. GUIADDCONTROL {
  1241.     Parent     = id,
  1242.     Name       = "tabela_za_prikaze",
  1243.     ControlType= ID_TABLECC, 
  1244.         Long1st    = ID_PICTURE_BOX,             
  1245.         SecRect    = {2,2,29,28},  
  1246.     BoundRect  = {366,422,657,597},
  1247.     Texture    = "GUI/PoolNew.dds",
  1248.     Title      = "tabela_za_prikaze",
  1249.  
  1250.     Rec1STTexture = {366,422,657,597},            -- empty field (normal)
  1251.  
  1252.         Rec8THTexture = {6,10,0,0},
  1253. };
  1254.  
  1255. ------------ battle_tanks ------------------------------------------------
  1256.  
  1257. GUIADDCONTROL {
  1258.     Parent     = V_frame,
  1259.     Name       = "battle_tanks",
  1260.     ControlType= ID_TABLECC,
  1261.     Long1st    = ID_VEHICLEPOOL_ELEM ,         
  1262.         SecRect    = {2,2,82,59},                                 
  1263.     BoundRect  = {4,4,331,121},
  1264.     Texture    = "GUI/PoolControls.dds",
  1265.     Title      = "battle_tanks",
  1266.  
  1267.     Rec1STTexture = {689,9,1016,126},            -- empty field (normal)
  1268.  
  1269. --    Rec2NDTexture = {0,0,160+1,21+1},                -- (hover)
  1270. --    Rec3RDTexture = {0,23,160+1,43+1},                -- (pressed)
  1271. --    Rec4THTexture = {0,44+1,160+1,65+1},                -- (selection)
  1272.     
  1273.     -- not textures
  1274. --    Rec5THTexture = {0,0,21,21},                -- type dim.
  1275. --    Rec6THTexture = {0,0,21,21},                -- rank dim.
  1276. --    Rec7THTexture = {0,0,119,21},                -- name dim.
  1277.     
  1278.         RecTHTexture = {2,4,0,0},
  1279.     
  1280. };
  1281.  
  1282.  
  1283. ------------ armour_fighting_vehicles ------------------------------------------------
  1284.  
  1285. GUIADDCONTROL {
  1286.     Parent     = V_frame,
  1287.     Name       = "armour_fighting_vehicles",
  1288.     ControlType= ID_TABLECC,  
  1289.         Long1st    = ID_VEHICLEPOOL_ELEM ,
  1290.         SecRect    = {2,2,82,59},                      
  1291.     BoundRect  = {4,126,331,243},
  1292.     Texture    = "GUI/PoolNEW.dds",
  1293.     Title      = "armour_fighting_vehicles",
  1294.  
  1295.     Rec1STTexture = {689,9,1016,126},            -- empty field (normal)
  1296.  
  1297. --    Rec2NDTexture = {0,0,160+1,21+1},                -- (hover)
  1298. --    Rec3RDTexture = {0,23,160+1,43+1},                -- (pressed)
  1299. --    Rec4THTexture = {0,44+1,160+1,65+1},                -- (selection)
  1300.     
  1301.     -- not textures
  1302. --    Rec5THTexture = {0,0,21,21},                -- type dim.
  1303. --    Rec6THTexture = {0,0,21,21},                -- rank dim.
  1304. --    Rec7THTexture = {0,0,119,21},                -- name dim.
  1305.     
  1306.         RecTHTexture = {2,4,0,0},
  1307.     
  1308. };
  1309.  
  1310.  
  1311.  
  1312. ------------ light_recon_vehicles ------------------------------------------------
  1313.  
  1314. GUIADDCONTROL {
  1315.     Parent     = V_frame,
  1316.     Name       = "light_recon_vehicles",
  1317.     ControlType= ID_TABLECC,  
  1318.         Long1st    =  ID_VEHICLEPOOL_ELEM , 
  1319.         SecRect    = {2,2,82,59},                     
  1320.     BoundRect  = {4,248,331,365},
  1321.     Texture    = "GUI/PoolControls.dds",
  1322.     Title      = "light_recon_vehicles",
  1323.  
  1324.     Rec1STTexture = {689,9,1016,126},            -- empty field (normal)
  1325. --      Rec1STTexture = {7,377,335,498},                        -- proba
  1326.  
  1327. --    Rec2NDTexture = {0,0,160+1,21+1},                -- (hover)
  1328. --    Rec3RDTexture = {0,23,160+1,43+1},                -- (pressed)
  1329. --    Rec4THTexture = {0,44+1,160+1,65+1},                -- (selection)
  1330.     
  1331.     -- not textures
  1332. --    Rec5THTexture = {0,0,21,21},                -- type dim.
  1333. --    Rec6THTexture = {0,0,21,21},                -- rank dim.
  1334. --    Rec7THTexture = {0,0,119,21},                -- name dim.
  1335.     
  1336.         RecTHTexture = {2,4,0,0},
  1337.     
  1338. };
  1339.  
  1340.  
  1341.  
  1342. ------------ transport_vehicles ------------------------------------------------
  1343.  
  1344. GUIADDCONTROL {
  1345.     Parent     = V_frame,
  1346.     Name       = "transport_vehicles",
  1347.     ControlType= ID_TABLECC,
  1348.         Long1st    =  ID_VEHICLEPOOL_ELEM ,
  1349.         SecRect    = {2,2,82,59},                        
  1350.     BoundRect  = {4,370,331,487},
  1351.     Texture    = "GUI/PoolNEW.dds",
  1352.     Title      = "transport_vehicles",
  1353.  
  1354.     Rec1STTexture = {689,9,1016,126},            -- empty field (normal)
  1355. --      Rec1STTexture = {7,377,335,498},                        -- proba
  1356.  
  1357. --    Rec2NDTexture = {0,0,160+1,21+1},                -- (hover)
  1358. --    Rec3RDTexture = {0,23,160+1,43+1},                -- (pressed)
  1359. --    Rec4THTexture = {0,44+1,160+1,65+1},                -- (selection)
  1360.     
  1361.     -- not textures
  1362. --    Rec5THTexture = {0,0,21,21},                -- type dim.
  1363. --    Rec6THTexture = {0,0,21,21},                -- rank dim.
  1364. --    Rec7THTexture = {0,0,119,21},                -- name dim.
  1365.     
  1366.         RecTHTexture = {2,4,0,0},
  1367.     
  1368. };
  1369.  
  1370.  
  1371. ------------ special_purpose_vehicles ------------------------------------------------
  1372.  
  1373. GUIADDCONTROL {
  1374.     Parent     = V_frame,
  1375.     Name       = "special_purpose_vehicles",
  1376.     ControlType= ID_TABLECC,  
  1377.         Long1st    =  ID_VEHICLEPOOL_ELEM , 
  1378.         SecRect    = {2,2,82,59},                     
  1379.     BoundRect  = {4,492,331,609},
  1380.     Texture    = "GUI/PoolNEW.dds",
  1381.     Title      = "specia_purpose_vehicles",
  1382.  
  1383.     Rec1STTexture = {689,9,1016,126},            -- empty field (normal)
  1384. --      Rec1STTexture = {7,377,335,498},                        -- proba
  1385.  
  1386. --    Rec2NDTexture = {0,0,160+1,21+1},                -- (hover)
  1387. --    Rec3RDTexture = {0,23,160+1,43+1},                -- (pressed)
  1388. --    Rec4THTexture = {0,44+1,160+1,65+1},                -- (selection)
  1389.     
  1390.     -- not textures
  1391. --    Rec5THTexture = {0,0,21,21},                -- type dim.
  1392. --    Rec6THTexture = {0,0,21,21},                -- rank dim.
  1393. --    Rec7THTexture = {0,0,119,21},                -- name dim.
  1394.     
  1395.         RecTHTexture = {2,4,0,0},
  1396.     
  1397. };
  1398.  
  1399. --------------------------------------------------------------------
  1400.  
  1401.  
  1402. --
  1403. --  Parent     = ,
  1404. --  Name       = ,
  1405. --  ControlType= ,
  1406. --  MessageParentID = ,
  1407. --    BoundRect  = {0,0,32,32},
  1408. --    SecRect    = {0,0,0,32},
  1409. --    Title      = "",  
  1410. --    FontHeight = 18,
  1411. --    FontWidth  = 20,
  1412. --    Long1st   =,
  1413. --    Long2nd   =,
  1414. --    Float1st   =,
  1415. --    Float2nd   =,
  1416. --    FontColor  =,
  1417. --    Texture    =,
  1418. --    Rec1STTexture =,
  1419. --    Rec2NDTexture =,
  1420. --    Rec3RDTexture =,
  1421. --    Rec4THTexture =,
  1422. --    Rec5THTexture =,
  1423. --    Rec6THTexture =,
  1424. --    Rec7THTexture =,
  1425. --    Rec8THTexture =,
  1426.  
  1427.